$id= $_GET['id'];
$sql = "SELECT * FROM results WHERE id = $id";
$query = @mysql_query($sql) or die("Esecuzione Query fallita !");
$result=mysql_fetch_array($query);
$id=$result["id"];
$titolo=$result["titolo"];
$breve=$result["breve"];
$lunga=$result["lunga"];
$nome_file = $result["Nome"];
//$breve = str_replace("<", "<", $breve);
//$breve = str_replace(">", ">", $breve);
$breve = nl2br($breve);
//$lunga = str_replace("<", "<", $lunga);
//$lunga = str_replace(">", ">", $lunga);
$lunga = nl2br($lunga);
echo "
$titolo
";
echo "$lunga";
?>
if ($nome_file != "") {
?>
Download file
}
?>